<!--
 * @Author: WangGuojian 1085844536@qq.com
 * @Date: 2024-06-29 12:54:38
 * @LastEditTime: 2024-06-29 12:59:23
 * @LastEditors: WangGuojian 1085844536@qq.com
 * @FilePath: \html\code\2_CSS\11_常用文本属性\09_文本对齐_垂直.html
 * @Description:
-->
<!--
 * @Author: WangGuojian 1085844536@qq.com
 * @Date: 2024-06-29 12:54:38
 * @LastEditTime: 2024-06-29 12:54:51
 * @LastEditors: WangGuojian 1085844536@qq.com
 * @FilePath: \html\code\2_CSS\11_常用文本属性\09_文本对齐_垂直.html
 * @Description:
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文本对齐_垂直</title>
    <style>
        div {
            font-size: 40px;
            height: 400px;
            line-height: 745px;
            background-color: skyblue;
        }
    </style>
</head>

<body>
    <div>atguigu尚硅谷</div>
</body>

</html>